package model

import "time"

// AppOpens 开屏广告
type AppOpens struct {
	Id        int64
	Name      string
	DateStart time.Time
	DateEnd   time.Time
	Note      string
	Ads       []AppOpensAd `gorm:"foreignKey:OrderId"`
}

// AppOpensAd 广告明细
type AppOpensAd struct {
	ResCommon
	OrderId  int64
	Name     string
	Type     string
	Sequence int
	Body     string
	Node     string
	Url      string
	Active   bool
}
